package com.maomao.admin.domain.system.entry;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户和角色关联 sys_user_role
 *
 * @author mao.kaiyin
 */
@Entity
@Table(name = "sys_user_role")
public class SysUserRole {

    @EmbeddedId
    @Id
    private UserRolePk id;

    public UserRolePk getId() {
        return id;
    }

    public void setId(UserRolePk id) {
        this.id = id;
    }
}
